import request from '@/utils/request'
//
export const getPartnerCollect = (data) => {
  return request.get('/order-service/report/partnerCollect', {
    params: {
      ...data
    }
  })
}
// 获取销售额
export const getOrderAmount = (start, end) => {
  return request.get('/order-service/report/orderAmount', {
    params: {
      start,
      end
    }
  })
}

// /order-service/report/totalBill
export const getTotalBill = (start, end) => {
  return request.get('/order-service/report/totalBill', {
    params: {
      start,
      end
    }
  })
}

// /order-service/report/orderCount
export const getOrderCount = (start, end) => {
  return request.get('/order-service/report/orderCount', {
    params: {
      start,
      end
    }
  })
}
